import request from '@/utils/request'
const prePath = '/withTable'

//获取跟台记录
export function getWithTableRecordOrderById(id) {
  return request({
    url: prePath + '/withTableRecordOrder/' + id,
    method: 'get',
  })
}
////获取跟台记录分页
export function getWithTableRecordOrderPage(data) {
  return request({
    url: prePath + '/withTableRecordOrder/customizeList/page',
    method: 'post',
    data,
  })
}
//跟台记录批准
export function withTableRecordOrderRatify(data) {
  return request({
    url: prePath + '/withTableRecordOrder/ratify',
    method: 'post',
    data,
  })
}
//跟台记录驳回
export function withTableRecordOrderRejecty(data) {
  return request({
    url: prePath + '/withTableRecordOrder/reject',
    method: 'post',
    data,
  })
}
//跟台记录提交
export function withTableRecordOrderSubmit(data) {
  return request({
    url: prePath + '/withTableRecordOrder/submit',
    method: 'post',
    data,
  })
}
//跟台记录撤回
export function withTableRecordOrderRevoke(data) {
  return request({
    url: prePath + '/withTableRecordOrder/revoke',
    method: 'post',
    data,
  })
}
//跟台记录新增
export function createWithTableRecordOrder(data) {
  return request({
    url: prePath + '/withTableRecordOrder',
    method: 'post',
    data,
  })
}
//跟台记录新增 保存并提交
export function createWithTableRecordOrderAndSave(data) {
  return request({
    url: prePath + '/withTableRecordOrder/saveAndSubmit',
    method: 'post',
    data,
  })
}
//跟台记录修改
export function updateWithTableRecordOrder(data) {
  return request({
    url: prePath + '/withTableRecordOrder',
    method: 'put',
    data,
  })
}
//跟台记录删除
export function deleWithTableRecordOrder(data) {
  return request({
    url: prePath + '/withTableRecordOrder',
    method: 'delete',
    data,
  })
}

//跟台记录删除
export function deleWithTableOrder(data) {
  return request({
    url: prePath + '/withTableOrder',
    method: 'delete',
    data,
  })
}
//跟台记录详情
export function getWithTableRecordOrderDetailAll(data) {
  return request({
    url: prePath + '/withTableRecordOrderDetail/customizeList/all',
    method: 'post',
    data,
  })
}
//跟台记录详情分页
export function getWithTableRecordOrderDetailPage(data) {
  return request({
    url: prePath + '/withTableRecordOrderDetail/customizeList/page',
    method: 'post',
    data,
  })
}
//跟台记录详情分组
export function getWithTableRecordOrderDetailGroup(data) {
  return request({
    url: prePath + '/withTableRecordOrderDetail/customizeGroups',
    method: 'post',
    data,
  })
}
//跟台记录详情扫码
export function getWithTableRecordOrderDetailScan(data) {
  return request({
    url: prePath + '/withTableRecordOrderDetail/scanForInBound',
    method: 'post',
    data,
  })
}
//跟台记录订单页打印
export function withTableRecordOrderPrintOrderList(data) {
  return request({
    url: prePath + '/withTableRecordOrder/printOrderList',
    method: 'post',
    data,
  })
}
//跟台记录订单页导出
export function withTableRecordOrderExcelOrderList(data) {
  return request({
    url: prePath + '/withTableRecordOrder/excelOrderList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台记录详情页打印
export function withTableRecordOrderPrintOrder(data) {
  return request({
    url: prePath + '/withTableRecordOrder/printOrder',
    method: 'post',
    data,
  })
}
//跟台记录详情页导出
export function withTableRecordOrderExcelOrder(data) {
  return request({
    url: prePath + '/withTableRecordOrder/excelOrder',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台记明细打印
export function withTableRecordOrderDetailPrintDetailList(data) {
  return request({
    url: prePath + '/withTableRecordOrderDetail/printDetailList',
    method: 'post',
    data,
  })
}
//跟台记录明细导出
export function withTableRecordOrderDetailExcelDetailList(data) {
  return request({
    url: prePath + '/withTableRecordOrderDetail/excelDetailList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//打印二维码
export function withTableRecordOrderPrintQrCode(data) {
  return request({
    url: prePath + '/withTableRecordOrder/printQrCode',
    method: 'post',
    data,
  })
}
//打印二维码
export function withTableRecordOrderDetailPrintQrCodeVO(data) {
  return request({
    url: prePath + '/withTableRecordOrderDetail/printQrCodeVO',
    method: 'post',
    data,
  })
}
//手术包分页
export function getWithTableKitCustomizeListPage(data) {
  return request({
    url: prePath + '/withTableKit/customizeList/page',
    method: 'post',
    data,
  })
}
//新增手术包
export function createWithTableKit(data) {
  return request({
    url: prePath + '/withTableKit',
    method: 'post',
    data,
  })
}
//修改手术包
export function updateWithTableKit(data) {
  return request({
    url: prePath + '/withTableKit',
    method: 'put',
    data,
  })
}
//删除手术包
export function delWithTableKit(data) {
  return request({
    url: prePath + '/withTableKit',
    method: 'delete',
    data,
  })
}
//停用手术包
export function withTableKitDisabled(data) {
  return request({
    url: prePath + '/withTableKit/disabled',
    method: 'post',
    data,
  })
}
//启用手术包
export function withTableKitEnabled(data) {
  return request({
    url: prePath + '/withTableKit/enabled',
    method: 'post',
    data,
  })
}
//手术包明细分组
export function getWithTableKitDetailGroups(data) {
  return request({
    url: prePath + '/withTableKitDetail/customizeGroups',
    method: 'post',
    data,
  })
}
//手术包明细全部
export function getWithTableKitDetailAll(data) {
  return request({
    url: prePath + '/withTableKitDetail/customizeList/all',
    method: 'post',
    data,
  })
}
//手术包明细分页
export function getWithTableKitDetailPage(data) {
  return request({
    url: prePath + '/withTableKitDetail/customizeList/page',
    method: 'post',
    data,
  })
}
//待审核手术包
export function getWithTableKitCheckPage(data) {
  return request({
    url: prePath + '/withTableKitCheck/customizeList/page',
    method: 'post',
    data,
  })
}
//待审核手术包明细
export function getWithTableKitDetailCheckPage(data) {
  return request({
    url: prePath + '/withTableKitDetailCheck/customizeList/page',
    method: 'post',
    data,
  })
}
//待审核手术包明细
export function getWithTableKitDetailCheckAll(data) {
  return request({
    url: prePath + '/withTableKitDetailCheck/customizeList/all',
    method: 'post',
    data,
  })
}
//待审核手术包明细
export function getWithTableKitDetailCheckGroup(data) {
  return request({
    url: prePath + '/withTableKitDetailCheck/customizeGroups',
    method: 'post',
    data,
  })
}
//待审核手术包确认
export function withTableKitCheckConfirm(data) {
  return request({
    url: prePath + '/withTableKitCheck/confirm',
    method: 'post',
    data,
  })
}
//待审核手术包拒绝
export function withTableKitCheckRefuse(data) {
  return request({
    url: prePath + '/withTableKitCheck/refuse',
    method: 'post',
    data,
  })
}
//获取1条待审核手术包
export function getWithTableKitCheckById(id) {
  return request({
    url: prePath + '/withTableKitCheck/' + id,
    method: 'get',
  })
}
//获取1条手术包
export function getWithTableKitById(id) {
  return request({
    url: prePath + '/withTableKit/' + id,
    method: 'get',
  })
}
//手术包订单页打印
export function withTableKitPrintOrderList(data) {
  return request({
    url: prePath + '/withTableKit/printOrderList',
    method: 'post',
    data,
  })
}
//手术包订单页导出
export function withTableKitExcelOrderList(data) {
  return request({
    url: prePath + '/withTableKit/excelOrderList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//手术包详情页打印
export function withTableKitPrintOrder(data) {
  return request({
    url: prePath + '/withTableKit/printOrder',
    method: 'post',
    data,
  })
}
//手术包详情页导出
export function withTableKitExcelOrder(data) {
  return request({
    url: prePath + '/withTableKit/excelOrder',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//手术包详情页打印
export function withTableKitPrintDetailList(data) {
  return request({
    url: prePath + '/withTableKitDetail/printDetailList',
    method: 'post',
    data,
  })
}
//手术包详情页导出
export function withTableKitExcelDetailList(data) {
  return request({
    url: prePath + '/withTableKitDetail/excelDetailList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台订单获取列表
export function getWithTableOrderPage(data) {
  return request({
    url: prePath + '/withTableOrder/customizeList/page',
    method: 'post',
    data,
  })
}
//获取1条跟台订单
export function getWithTableOrderById(id) {
  return request({
    url: prePath + '/withTableOrder/' + id,
    method: 'get',
  })
}
//新增跟台订单
export function createWithTableOrder(data) {
  return request({
    url: prePath + '/withTableOrder',
    method: 'post',
    data,
  })
}
// 保存并提交
export function createWithTableOrderAndSave(data) {
  return request({
    url: prePath + '/withTableOrder/saveAndSubmit',
    method: 'post',
    data,
  })
}
//修改跟台订单
export function updateWithTableOrder(data) {
  return request({
    url: prePath + '/withTableOrder',
    method: 'put',
    data,
  })
}
//删除跟台订单
export function delWithTableOrder(data) {
  return request({
    url: prePath + '/withTableOrder',
    method: 'delete',
    data,
  })
}
//跟台订单明细
export function getWithTableOrderKitPage(data) {
  return request({
    url: prePath + '/withTableOrderKit/customizeList/page',
    method: 'post',
    data,
  })
}
export function getWithTableOrderKitDetailAll(data) {
  return request({
    url: prePath + '/withTableOrderKitDetail/customizeList/all',
    method: 'post',
    data,
  })
}
export function getWithTableOrderKitGroup(data) {
  return request({
    url: prePath + '/withTableOrderKit/customizeGroups',
    method: 'post',
    data,
  })
}
//跟台订单手术包
export function getWithTableOrderKitAll(data) {
  return request({
    url: prePath + '/withTableOrderKit/customizeList/all',
    method: 'post',
    data,
  })
}
//跟台订单批准
export function withTableOrderRatify(data) {
  return request({
    url: prePath + '/withTableOrder/ratify',
    method: 'post',
    data,
  })
}
//跟台订单驳回
export function withTableOrderRejecty(data) {
  return request({
    url: prePath + '/withTableOrder/reject',
    method: 'post',
    data,
  })
}
//跟台订单提交
export function withTableOrderSubmit(data) {
  return request({
    url: prePath + '/withTableOrder/submit',
    method: 'post',
    data,
  })
}
//跟台订单撤回
export function withTableOrderRevoke(data) {
  return request({
    url: prePath + '/withTableOrder/revoke',
    method: 'post',
    data,
  })
}
//跟台订单订单页打印
export function withTableOrderPrintOrderList(data) {
  return request({
    url: prePath + '/withTableOrder/printOrderList',
    method: 'post',
    data,
  })
}
//跟台订单订单页导出
export function withTableOrderExcelOrderList(data) {
  return request({
    url: prePath + '/withTableOrder/excelOrderList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台订单详情页打印
export function withTableOrderPrintOrder(data) {
  return request({
    url: prePath + '/withTableOrder/printOrder',
    method: 'post',
    data,
  })
}
//跟台订单详情页导出
export function withTableOrderExcelOrder(data) {
  return request({
    url: prePath + '/withTableOrder/excelOrder',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台订单明细页打印
export function withTableOrderKitPrintDetailList(data) {
  return request({
    url: prePath + '/withTableOrderKit/printDetailList',
    method: 'post',
    data,
  })
}
//跟台订单明细页导出
export function withTableOrderKitExcelDetailList(data) {
  return request({
    url: prePath + '/withTableOrderKit/excelDetailList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台验收获取列表
export function getWithTableAcceptOrderPage(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/customizeList/page',
    method: 'post',
    data,
  })
}
//跟台1条验收获取
export function getWithTableAcceptOrderById(id) {
  return request({
    url: prePath + '/withTableAcceptOrder/' + id,
    method: 'get',
  })
}
//跟台验收获取列表
export function getWithTableAcceptOrderDetailPage(data) {
  return request({
    url: prePath + '/withTableAcceptOrderDetail/customizeList/page',
    method: 'post',
    data,
  })
}
export function getWithTableAcceptOrderDetailAll(data) {
  return request({
    url: prePath + '/withTableAcceptOrderDetail/customizeList/all',
    method: 'post',
    data,
  })
}
export function getWithTableAcceptOrderDetailGroup(data) {
  return request({
    url: prePath + '/withTableAcceptOrderDetail/customizeGroups',
    method: 'post',
    data,
  })
}
//跟台验收订单页打印
export function withTableAcceptOrderPrintOrderList(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/printOrderList',
    method: 'post',
    data,
  })
}
//跟台验收订单页导出
export function withTableAcceptOrderExcelOrderList(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/excelOrderList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台验收详情页打印
export function withTableAcceptOrderPrintOrder(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/printOrder',
    method: 'post',
    data,
  })
}
//跟台验收详情页导出
export function withTableAcceptOrderExcelOrder(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/excelOrder',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台验收明细页打印
export function withTableAcceptOrderDetailPrintDetailList(data) {
  return request({
    url: prePath + '/withTableAcceptOrderDetail/printDetailList',
    method: 'post',
    data,
  })
}
//跟台验收明细页导出
export function withTableAcceptOrderDetailExcelDetailList(data) {
  return request({
    url: prePath + '/withTableAcceptOrderDetail/excelDetailList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//跟台验收未使用
export function withTableAcceptOrderNnused(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/unused',
    method: 'post',
    data,
  })
}
//跟台验收使用
export function withTableAcceptOrderUsed(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/used',
    method: 'post',
    data,
  })
}
//跟台验收验收
export function withTableAcceptOrderAcceptance(data) {
  return request({
    url: prePath + '/withTableAcceptOrder/acceptance',
    method: 'post',
    data,
  })
}
//跟台验收扫码
export function withTableAcceptOrderDetailScan(data) {
  return request({
    url: prePath + '/withTableAcceptOrderDetail/customizeScan',
    method: 'post',
    data,
  })
}
//跟台记录校验
export function withTableRecordOrderBatchValidate(data) {
  return request({
    url: prePath + '/withTableRecordOrder/batchValidate',
    method: 'post',
    data,
  })
}
//跟台记录无痕撤回
export function withTableRecordOrderRevokeDetail(data) {
  return request({
    url: prePath + '/withTableRecordOrder/revokeDetail',
    method: 'post',
    data,
  })
}
